package com.gdkj.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * @Description  
 * @Author  zhangwen
 * @Date 2022-06-01 
 */
@Data
@Table(name="cmf_users_attention")
public class UsersAttention implements Serializable {

	private static final long serialVersionUID =  5831144110321976220L;

    @Id
	private Integer id;

	@ApiModelProperty(value ="用户ID")
	private Long uid;

	@ApiModelProperty(value ="关注人ID")
	@Column(name = "touid")
	private Long touid;

	@ApiModelProperty(value ="关注来源，1：其它（个人资料），2：同城，3：短视频 4：直播 5：消息 6：聊天室 7：动态 9：推荐关注 10关注列表 11粉丝列表")
	private Integer fromType;

	@ApiModelProperty(value ="是否已读0/1")
	private Integer isRead;

	@ApiModelProperty(value ="关注时间")
	@Column(name = "addtime")
	private Date addtime;

	@ApiModelProperty(value ="互相关注的状态 1-不是互相关注 2-互相关注 0-默认值未知是否相互关注")
	private Integer mutualStatus;

}
